|
This page last changed on Jul 08, 2009 by kgomes.
The goal of the MBARI portion of the OMF project is to get an instrument connected to the Enterprise Service Bus. In order to do that, we setup a PC-104 stack, running Debian Linux that was then connected to a Sea-Bird SBE 37-SM. We ran SIAM as the instrument service and then connected SIAM up to the ESB using messaging. To get the system running:
- Put the PC-104 stack together and install Debian. Please refer to the FOCE documentation on how this was done
- FOCE Electronics Page
- Installing Debian on PC104
- Check out SIAM2 code base from CVS under the ops account
- Check out the omf code base from NCSA's repository
- Created a new device in the Shore Side Data System and retrieved the ID from SSDS.
- Edited the ~/siam2/make/Makefile and added a section to define a puck jar for this device
omfpuck:
mkpuck org.mbari.siam.devices.seabird.sbe37.SBE37 'Seabird-37SM s/n 37SM34119-3374' 1701 \
$(JAVA_DEV_ROOT)/ports/Seabird-1701.jar $(JAVA_DEV_ROOT)/puckxml/1701.xml 'sampleSchedule = 600' \
'powerPolicy = always' 'commPowerPolicy = sampling' 'defaultSkipInterval = -1' \
'safeSampleIntervalSec = 600' 'currentLimitMa = 3000' 'timeSynch=true' 'log=false' \
'UUID = d691724b-ebef-11dd-98dd-f9ada8061848';
- Checked out the puckxml project from CVS
- Created a 1701.xml file in that project and modeled it after another SBE-37 XML doc (1613.xml)
- Checked that file back into CVS.
- Create a ~/siam2/puckxml directory
- Copied the new XML file (1701.xml) to that directory
- When to the command line and ran 'make' (took a long time to build everything).
- Then ran 'make omfpuck' (this creates a Seabird-1701.jar in the ports directory)
- I then created a siamPorts.cfg file in the properties directory
- I then typed 'gosiam' and then ran the foce script by running './utils/foce/foce omftest -publish -sensors &'
- Once the application is running, you can check the service by opening another command window, typing 'gosiam' and then running 'listPorts omftest -stats' which should show the ports, the status and the Samples, errors, and retries stats
|